<?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * @author 		Phil Sturgeon - PyroCMS Dev Team
 * @package 	PyroCMS
 * @subpackage 	Pages Module
 * @category 	Modules
 */
class Home extends Frontend_Controller
{
	/**
	 * Constructor method
	 * @access public
	 * @return void
	 */
//	public function __construct() 
//	{
//		parent::Frontend_Controller();
//	}
        
        function index() {
            //$p = $this->ion_auth->profile();
            //print_r($this->user);die;
            //$this->template->acac = (array) $this->user;
            $this->template->acac = 'aaa';
            
            $this->template
                    ->set_hook('TOOLBAR', 'hmenu')
                    ->set_hook('RIGHT', 'right_index')
                    ->inject_hook('RIGHT','gicms:acac')
                    ->set_hook('PRODUCT_CATEGORY', 'product_category')
                    ->title('homepage')
                    ->build('index');
        }

}